const Router = require('koa-router')

const router = new Router({ prefix: '/login' })
const { verifyLogin } = require('../middleware/auth-middleware')
const { login } = require('../controller/user-controller')

router.post('/', verifyLogin, login)

module.exports = router